package com.woniu.service.impl;

import com.woniu.dao.SchoolDao;
import com.woniu.pojo.School;
import com.woniu.service.SchoolService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SchoolServiceImpl implements SchoolService {
    @Resource
    private SchoolDao schoolDao;
    @Override
    public List<School> findAllSch() {
        return  schoolDao.selectByExample(null);
    }
}
